package com.zs.main;

import com.mzt.logapi.starter.annotation.EnableLogRecord;
import com.zs.framework.healthcheck.EnableHealthCheck;
import com.zs.framework.result.enhance.EnhanceRestResult;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * Copyright 2020 ZS Network Co., Ltd. All rights reserved.
 * 本文件仅限于正数网络技术有限公司内部传阅，禁止外泄以及用于其他的商业目的。
 * Created by yuancong on 2022/10/12.
 */
@SpringBootApplication
@EnableScheduling
@EnableAsync
@EnableHealthCheck
@EnhanceRestResult
@ComponentScan("com.zs")
@MapperScan(basePackages = {"com.zs.dao.mapper"})
@EnableLogRecord(tenant = "default")
public class MainApplication {
    public static void main(String[] args) {
        SpringApplication.run(MainApplication.class,args);
    }
}
